﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DcsGauges.Shared.DataStructures;

namespace DcsGauges.Shared.Exceptions
{
    [Serializable]
    public class DcsPropertyNotSupportedException : Exception
    {
        public DcsPropertyNotSupportedException() { }
        public DcsPropertyNotSupportedException(DcsProperty property) : base(string.Format(Localization.ExcPropertyNotSupported1A, property)) { }
        public DcsPropertyNotSupportedException(DcsProperty property, Exception inner) : base(string.Format(Localization.ExcPropertyNotSupported1A, property), inner) { }
        protected DcsPropertyNotSupportedException(
          System.Runtime.Serialization.SerializationInfo info,
          System.Runtime.Serialization.StreamingContext context)
            : base(info, context) { }
    }
}
